<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>

<title>抵质押清单</title><span id="navlink"> 客户信息登记  >> 抵质押清单表</span>

<script type="text/javascript"src="<%=request.getContextPath()%>/js/custom/companypledger.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/common/money2chinese.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/common/numdiv.js"></script>   <s:if test='#session.eflage=="show"'> <style type="text/css">	select {border:0;-webkit-appearance: none;} </style> </s:if>
<style type="text/css">
.ftab ul li{padding:0 10px;float:left;font-weight:bold;}
.ftab a{color:black}
.ftab a:hover{text-decoration:underline;}
</style>


<script>
  $(function() {
    $( "#accordion" ).accordion({
      collapsible: true
    });
  });
 </script>

<div id="accordion" style="width:auto">
  <h3>客户信息登记</h3>
  <div class="ftab">
    <ul >
			<li><a href="customShow!companyread">基本信息</a></li>
			<li><a href="customList!contactlist">联系信息</a></li>
			<li><a href="customList!topmanagerlist">高管信息</a></li>
			<li><a href="customList!prosecutedlist">被起诉信息</a></li>
			<li><a href="customList!investorlist">投资人信息</a></li>
			<li><a href="customList!foreigninvestorlist">对外投资信息</a></li>
			<!-- 
			<li><a href="customList!guarantorlist">法人保证人专用信息表</a></li>
			 -->
			<li><a href="customList!pledgercompanylist">抵质押清单信息</a></li>			
		
			<li><a href="customList!managelist">管理信息</a></li>	
					
			<li><a href="customList!externalguaranteelist">对外担保信息</a></li>
			<!-- 
			<li><a href="NewCompanyOtherrelation">法人其他关联关系表</a></li>
			 -->
			 
			<li><a href="customList!otherloanlist">其他借款</a></li>
			 
			<li><a href="customList!bankcreditlist">银行信贷信息</a></li>
			
			
			
			<li><a href="customList!cashflowlist">现金流量表</a></li>
			<li><a href="customList!assetsdebtlist">资产负债表</a></li>
			<li><a href="customList!profitlist">损益表表</a></li>	
			 <li><a href="upload!filelist?listtype=1">客户基础资料归档目录</a></li>
			 <li><a href="upload!filelist?listtype=2">客户必备资料归档目录</a></li>			
				<!-- <li><a href="./ListCompanyPledger!getCompanyPledgerList">抵押清单信息</a></li> -->			
		</ul>
  </div>
</div>
<div class="clear"></div>
<div id="msg"></div>


<form action="customActionDo!pledgersave" method="post" id="form">

<input type="hidden" name="companypledger.id" value="${companypledger.id}" />

<table class="table_box table_all_border" cellspacing="0" cellpadding="0">
<tr >
<td style="width:25%" align="right">客户ID</td>
<td style="width:25%" >RF0<s:if test='FLAG=="EDIT"'>
<input type="text" class="companyid" readonly="readonly"  name="companypledger.cid" value="${companypledger.cid}" />
</s:if>	
<s:else>
<input type="text" class="companyid" readonly="readonly" name="companypledger.cid" value="${sessionScope.companyid}" />
</s:else>
</td>
<th><span class="need"></span>名称</th>
<td style="width:25%" ><input type="text" name="companypledger.collateralname" value="${companypledger.collateralname}" /></td>
</tr>
<tr>
<tr>
<th><span class="need"></span>客户类别</th>
<td><s:select list="#{2:'公司',1:'个人'}" name="companypledger.typecustom" value="companypledger.typecustom"></s:select></td>
<th><span class="need"></span>物品类别</th>
<td><s:select list="#{1:'抵',2:'质'}" name="companypledger.typerelation" value="companypledger.typerelation"></s:select></td>
</tr>
<tr>
</tr>
</tr>
<tr>
<th><span class="need"></span>数量</th>
<td><input type="text" name="companypledger.collateralnumber" value="${companypledger.collateralnumber}" /></td>
<th><span class="need"></span>产权证号码</th>
<td><input type="text" name="companypledger.propertyrightcardnumber" value="${companypledger.propertyrightcardnumber}" /></td>
</tr>
<tr>
<th><span class="need"></span>所有权</th>
<td><input type="text" name="companypledger.ownershipofcollateral" value="${companypledger.ownershipofcollateral}" /></td>
<th><span class="need"></span>使用权</th>
<td><input type="text" name="companypledger.themortgagerightofuse" value="${companypledger.themortgagerightofuse}" /></td>
</tr>
<tr>
<th><span class="need"></span>所在地</th>
<td><input type="text" name="companypledger.collateralislocated" value="${companypledger.collateralislocated}" /></td>
<th><span class="need"></span>认定价值</th>
<td><input type="text" name="companypledger.collateralvalueidentification" value="${companypledger.collateralvalueidentification}" class="numdiv" /></td>
</tr>
<tr>
<th><span class="need"></span>拥有的份额</th>
<td><input type="text" name="companypledger.mortgagorshareofcollateral" value="${companypledger.mortgagorshareofcollateral}" /></td>
<th><span class="need"></span>其他共有人的名称</th>
<td><input type="text" name="companypledger.otherpeoplesname" value="${companypledger.otherpeoplesname}" /></td>
</tr>
<tr>
<th><span class="need"></span>其他状况</th>
<td><input type="text" name="companypledger.otherconditionscollateral" value="${companypledger.otherconditionscollateral}" /></td>
<th><span class="need"></span>备注</th>
<td><input type="text" name="companypledger.remarks" value="${companypledger.remarks}" /></td>
</tr>
<tr>
<th><span class="need"></span>评估值</th>
<td><input type="text" name="companypledger.assessvalue" value="${companypledger.assessvalue}"  class="numdiv"/></td>
<th><span class="need"></span>市场价值</th>
<td><input type="text" name="companypledger.marketvalue" value="${companypledger.marketvalue}" class="numdiv" /></td>
</tr>
<tr>
<th><span class="need"></span>评估机构</th>
<td><input type="text" name="companypledger.assessorganization" value="${companypledger.assessorganization}" /></td>
</tr>
<tr>
<th><span class="need"></span>评估员</th>
<td><input type="text" name="companypledger.assessor" value="${companypledger.assessor}" /></td>
<th><span class="need"></span>评估日期</th>
<td><input type="text"class="datepicker"  readonly="readonly" name="companypledger.assessdate" value="<s:date name="companypledger.assessdate" format="yyyy-MM-dd" />" /></td>
</tr>

</table>

<div id="button_area"><input type="submit" value="保存"/></div>
	
</form>

<input type="hidden" id="eflage" name="eflage" value="${sessionScope.eflage }" />
<script type="text/javascript">
<!--
	$(document).ready(function(){
		if($("#eflage").val() === 'show'){
			$("input[type='text']").prop("readonly", true);
			$("input[type='select']").prop("disabled", true);
			$("input[type='text']").addClass("companyid");
			//$("input[type='select']").addClass("companyid");
			$("#button_area").hide();
			$("#left_area").hide();
			$(".del").hide();
			$(".smodify").html('浏览');
			
		}
	});
//-->
</script>
